﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DTcms.Web.UI.Page
{
    public partial class index : Web.UI.BasePage
    {
        /// <summary>
        /// 重写虚方法,此方法将在Init事件前执行
        /// </summary>
        protected override void ShowPage()
        {

        }
        protected string get_username(int user_id)
        {
            string result = string.Empty;
            if(user_id>0){
                result = new BLL.users().GetUserName(user_id);
            }
            return result;
        }
        protected string get_avatar(int user_id)
        {
            string result = string.Empty;
            if (user_id > 0)
            {
                result = new BLL.users().GetAvatar(user_id);
            }
            return result;
        }
    }

}
